package com.ruoyi.system.domain;

/**
 * 
 * @TableName lhk_renzheng
 */
public class LhkRenzheng {
    /**
     * 认证id
     */
    private Integer rzId;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 身份证号码
     */
    private String sfzId;

    /**
     * 联系电话
     */
    private String realPhone;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 认证id
     */
    public Integer getRzId() {
        return rzId;
    }

    /**
     * 认证id
     */
    public void setRzId(Integer rzId) {
        this.rzId = rzId;
    }

    /**
     * 真实姓名
     */
    public String getRealName() {
        return realName;
    }

    /**
     * 真实姓名
     */
    public void setRealName(String realName) {
        this.realName = realName;
    }

    /**
     * 身份证号码
     */
    public String getSfzId() {
        return sfzId;
    }

    /**
     * 身份证号码
     */
    public void setSfzId(String sfzId) {
        this.sfzId = sfzId;
    }

    /**
     * 联系电话
     */
    public String getRealPhone() {
        return realPhone;
    }

    /**
     * 联系电话
     */
    public void setRealPhone(String realPhone) {
        this.realPhone = realPhone;
    }

    /**
     * 用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        LhkRenzheng other = (LhkRenzheng) that;
        return (this.getRzId() == null ? other.getRzId() == null : this.getRzId().equals(other.getRzId()))
            && (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
            && (this.getSfzId() == null ? other.getSfzId() == null : this.getSfzId().equals(other.getSfzId()))
            && (this.getRealPhone() == null ? other.getRealPhone() == null : this.getRealPhone().equals(other.getRealPhone()))
            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getRzId() == null) ? 0 : getRzId().hashCode());
        result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
        result = prime * result + ((getSfzId() == null) ? 0 : getSfzId().hashCode());
        result = prime * result + ((getRealPhone() == null) ? 0 : getRealPhone().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", rzId=").append(rzId);
        sb.append(", realName=").append(realName);
        sb.append(", sfzId=").append(sfzId);
        sb.append(", realPhone=").append(realPhone);
        sb.append(", userId=").append(userId);
        sb.append("]");
        return sb.toString();
    }
}